/**
 * Copyright (C), 2015-2021, XXX有限公司
 * FileName: MaterialMapper
 * Author:   Administrator
 * Date:     2021/8/3 0003 19:16
 * Description:
 * History:
 * <author>          <time>          <version>          <desc>
 * 作者姓名           修改时间           版本号              描述
 */
package cn.hxlc.tie.demo.modular.material.mapper;

import cn.hxlc.tie.demo.modular.material.entity.Material;
import cn.hxlc.tie.demo.modular.material.model.param.MaterialParam;
import cn.hxlc.tie.demo.modular.material.model.result.MaterialResult;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 〈一句话功能简述〉<br> 
 * 〈〉
 *
 * @author Administrator
 * @create 2021/8/3 0003
 * @since 1.0.0
 */
@Mapper
public interface MaterialMapper extends BaseMapper<Material> {

    IPage<MaterialResult>
    customPageList(@Param("page")
                          Page page, @Param("Param") MaterialParam Param);

    List<MaterialResult> customList(@Param("Param") MaterialParam Param);
}
